package com.sms.demo.Config;
/**
 * Created with IntelliJ IDEA.
 *
 * @Author: Tom
 * @Date: 2022/03/11/18:15
 * @Description:
 */

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *@ClassName ee
 *@Description
 *@Author 王琛
 *@Date 2022/3/11 18:15
 @Version 1.0
 */
@Data
@Component
@ConfigurationProperties(prefix = "smsconfig")
public class SmsConfigProperties {

    private int appId;

    private String appKey;

    private int templateId;

    private String smsSign;

    private int invalidTime;

}

